package cn.iocoder.yudao.module.eval.controller.admin.plan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 评价计划取消 Request VO")
@Data
public class EvalPlanCancelReqVO {

    @Schema(description = "计划ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "计划ID不能为空")
    private Long id;

    @Schema(description = "取消原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "由于场地问题，暂时取消本次评价")
    @NotEmpty(message = "取消原因不能为空")
    @Size(max = 500, message = "取消原因长度不能超过500个字符")
    private String reason;

} 